'use strict';

const queue = [];
queue.push('辣椒炒肉');
queue.push('辣椒炒辣椒');
queue.push('荷包蛋炒辣椒');

while (1) {
  const top = queue[0];
  console.log(top);
  queue.shift();
}
